﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/CommonPages/MasterPageBackEnd.master" AutoEventWireup="true" CodeFile="viewDesign.aspx.cs" Inherits="Pages_StaffPages_viewDesign" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="block">
        <h2>Info</h2>
        <table class="infoTable">
            <tr>
                <td>Name Competition: </td>
                <td>
                    <asp:Label ID="lblName" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td>First Prize: </td>
                <td>
                    <asp:Label ID="lblFirstPrize" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td>Second Prize: </td>
                <td>
                    <asp:Label ID="lblSecondPrize" runat="server" Text=""></asp:Label></td>
            </tr>
            
            <tr>
                <td>Third Prize: </td>
                <td>
                    <asp:Label ID="lblThirdPrize" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td>Start Date: </td>
                <td>
                    <asp:Label ID="lblStartDate" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td>End Date: </td>
                <td>
                    <asp:Label ID="lblEndDate" runat="server" Text=""></asp:Label></td>
            </tr>
            
            <tr>
                <td>Description: </td>
                <td>
                    <asp:Label ID="lblDescription" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td>Quotation: </td>
                <td>
                    <asp:Label ID="lblQuotation" runat="server" Text=""></asp:Label></td>
            </tr>
        </table>
        
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <div id="StaffViewDesign">
        <h4>All design in Competition</h4>
        

        <div>
            <asp:GridView CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt"
                ID="grvMarkDesign" runat="server" AutoGenerateColumns="False"
                DataKeyNames="designId" Width="670px" BackColor="White"
                ClientIDMode="Static" AllowSorting="True" PageSize="3"
                BorderColor="Black" BorderStyle="Solid" ShowFooter="True"
                ShowHeaderWhenEmpty="True" AllowPaging="True" OnPageIndexChanging="grvMarkDesign_PageIndexChanging" OnRowDataBound="grvMarkDesign_RowDataBound">
                <AlternatingRowStyle CssClass="alt"></AlternatingRowStyle>
                <Columns>
                    <asp:BoundField DataField="designId" HeaderText="Design ID" />
                    <asp:BoundField HeaderText="Name" DataField="name" />
                    <asp:BoundField HeaderText="Post Date" DataFormatString="{0:d}" DataField="postDate" />
                    <asp:BoundField HeaderText="Description" DataField="description" />
                    <asp:BoundField HeaderText="Quotation" DataField="quotation" />
                    <asp:BoundField HeaderText="Student" DataField="userName" />
                </Columns>
                <PagerStyle CssClass="pgr"></PagerStyle>
            </asp:GridView>

        </div>
    </div>
</asp:Content>

